package org.nvframe.util.settings;

public class SettingImpl implements Setting {
	
	private String value = null;
	
	protected SettingImpl(String value) {
		this.value = value;
	}

	public String getString() {
		return value;
	}
	
	public boolean getBoolean() {
		return Boolean.parseBoolean(value);
	}
	
	public int getInt() {
		return Integer.parseInt(value);
	}
	
	public float getFloat() {
		return Float.parseFloat(value);
	}
	
	public Double getDouble() {
		return Double.parseDouble(value);
	}
	
}
